package com.ruoyi.project.bajiaostar.user;

import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.framework.web.page.TableDataInfo;
import com.ruoyi.project.bajiaostar.jbhWetrademark.domain.JbhWetrademark;
import com.ruoyi.project.bajiaostar.jbhWetrademark.service.IJbhWetrademarkService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 商标库Controller
 * 
 * @author 写烧糊
 * @date 2024-07-18
 */
@Controller
@RequestMapping("/nt/jbhWetrademark")
public class WebWetrademarkController extends BaseController
{

    @Autowired
    private IJbhWetrademarkService jbhWetrademarkService;


    /**
     * 查询商标库列表
     */
    @PostMapping("/list")
    @ResponseBody
    public AjaxResult list(@RequestBody JbhWetrademark jbhWetrademark)
    {
        List<JbhWetrademark> list = jbhWetrademarkService.selectJbhWetrademarkList(jbhWetrademark);
        return AjaxResult.success(list);
    }

}
